<!DOCTYPE html>
<html  style="height: 100%;">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
<title>Redis服务器信息</title>

<link href="${basePath}/css/museui/reset.css" rel="stylesheet" type="text/css" />
<link href="${basePath}/css/museui/icons.css" rel="stylesheet" type="text/css" />
<link href="${basePath}/css/museui/stylesheet.css" rel="stylesheet" type="text/css" />
<#include "/common/bootstrap.html">
<script type='text/javascript' src='${basePath}/js/museui/actions.js'></script>
<!--[if lte IE 6]>
<script src="${basePath}/js/museui/ie6png.js" type="text/javascript"></script>
    <script type="text/javascript">
        DD_belatedPNG.fix('img, .icon,.isw-archive,.isw-chat,.isw-graph,.isw-grid,.isw-list,.isw-text_document,.isw-zoom,.text');
    </script>
<![endif]--> 
<style type="text/css">
	P{
		text-align: left;
	}
</style>
</head>
<body style="height: 100%;">
	<div align="center">
	<div class="col-md-12">
		<div>
			<div class="alert alert-success" role="alert" id="messageDiv"></div>
		</div>
		<div class="col-md-8">
			<table class="table table-bordered table-hover">
				<tr><th colspan="2">Server</th></tr>
				<#if serverMap?exists>
	                <#list serverMap?keys as key> 
	                   <tr>
	                      <td>${key}</td>
	                      <td>${serverMap[key]}</td>
	                   </tr>
	                </#list>
	            </#if>
            </table>
            <table class="table table-bordered table-hover">
            	<tr><th colspan="2">Clients</th></tr>
				<#if clientsMap?exists>
	                <#list clientsMap?keys as key> 
	                   <tr>
	                      <td>${key}</td>
	                      <td>${clientsMap[key]}</td>
	                   </tr>
	                </#list>
	            </#if>
            </table>
            <table class="table table-bordered table-hover">
            	<tr><th colspan="2">Memory</th></tr>
				<#if memoryMap?exists>
	                <#list memoryMap?keys as key> 
	                   <tr>
	                      <td>${key}</td>
	                      <td>${memoryMap[key]}</td>
	                   </tr>
	                </#list>
	            </#if>
            </table>
            <table class="table table-bordered table-hover">
           	  	<tr><th colspan="2">Persistence</th></tr>
				<#if persistenceMap?exists>
	                <#list persistenceMap?keys as key> 
	                   <tr>
	                      <td>${key}</td>
	                      <td>${persistenceMap[key]}</td>
	                   </tr>
	                </#list>
	            </#if>
            </table>
            <table class="table table-bordered table-hover">
            	<tr><th colspan="2">Replication</th></tr>
				<#if replicationMap?exists>
	                <#list replicationMap?keys as key> 
	                   <tr>
	                      <td>${key}</td>
	                      <td>${replicationMap[key]}</td>
	                   </tr>
	                </#list>
	            </#if>
            </table>
            <table class="table table-bordered table-hover">
            	<tr><th colspan="2">Stats</th></tr>
				<#if statsMap?exists>
	                <#list statsMap?keys as key> 
	                   <tr>
	                      <td>${key}</td>
	                      <td>${statsMap[key]}</td>
	                   </tr>
	                </#list>
	            </#if>
            </table>
            <table class="table table-bordered table-hover">
            	<tr><th colspan="2">CPU</th></tr>
				<#if CPUMap?exists>
	                <#list CPUMap?keys as key> 
	                   <tr>
	                      <td>${key}</td>
	                      <td>${CPUMap[key]}</td>
	                   </tr>
	                </#list>
	            </#if>
            </table>
             <table class="table table-bordered table-hover">
             	<tr><th colspan="2">Cluster</th></tr>
				<#if clusterMap?exists>
	                <#list clusterMap?keys as key> 
	                   <tr>
	                      <td>${key}</td>
	                      <td>${clusterMap[key]}</td>
	                   </tr>
	                </#list>
	            </#if>
            </table>
            <table class="table table-bordered table-hover">
            	<tr><th colspan="2">Keyspace</th></tr>	
				<#if keyspaceMap?exists>
	                <#list keyspaceMap?keys as key> 
	                   <tr>
	                      <td>${key}</td>
	                      <td>${keyspaceMap[key]}</td>
	                   </tr>
	                </#list>
	            </#if>
            </table>
		</div>
		<div id="logDiv">
		</div>
	</div>
	</div>
</body>
</html>
